#include <iostream>
#include "judge.hpp"

using namespace std;

//i write a deque to store the ratings of the judges.
//but it just stores one rating at a time.
int main() {
	Judge dq;
	cout << " " << endl;
	{
	dq.add_ratings(1, 10);
	dq.add_ratings(2, 8);
	dq.add_ratings(3, 10);
	dq.add_ratings(4, 6);	
	dq.add_ratings(5, 5);
	dq.add_ratings(6, 8);
	dq.add_ratings(7, 8);
	dq.add_ratings(8, 8);
	dq.add_ratings(9, 8);
	dq.add_ratings(0, 8);
	}
	dq.clear_ratings();
		cout << " " << endl;
	{
	dq.add_ratings(1, 10);
	dq.add_ratings(2, 8);
	dq.add_ratings(3, 10);
	dq.add_ratings(4, 6);	
	dq.add_ratings(5, 5);
	dq.add_ratings(6, 8);
	dq.add_ratings(7, 8);
	dq.add_ratings(8, 8);
	dq.add_ratings(9, 8);
	dq.add_ratings(0, 8);
	}
	std::cout << dq.getAverage_ratings() << endl;

	return 0;
}